/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-07-30     Administrator       the first version
 */
#ifndef LCD1602_H_
#define LCD1602_H_


typedef enum{

    LCD1602_COM_DISPLAY_OFF = 0x00,
    LCD1602_COM_DISPLAY_ON  = 0x08,
    LCD1602_COM_DISPLAY_CLR = 0x01,
    LCD1602_COM_END = 0xFF
}enm_lcd1602_com_t;


void lcd1602_write_com(unsigned char com);
void lcd1602_write_byte(unsigned char x, unsigned char y, unsigned char dat);
void lcd1602_write_str(unsigned char x, unsigned char y, unsigned char * str);

#endif /* LCD1602_H_ */
